home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding='EUC-KR' ?>
- <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
- <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
- <!-- English Revision: 1.8.2.4 -->
-
- <!--
- Copyright 2003-2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <modulesynopsis metafile="mod_actions.xml.meta">
-
- <name>mod_actions</name>
-
- <description>└╠ ╕≡╡Γ└║ ╣╠╡≡╛ε┴╛╖∙│¬ ┐Σ├╗╕▐╝¡╡σ┐í ╡√╢≤ CGI
- ╜║┼⌐╕│╞«╕ª ╜╟╟α╟╤┤┘.</description>
-
- <status>Base</status>
- <sourcefile>mod_actions.c</sourcefile>
- <identifier>actions_module</identifier>
-
- <summary>
- <p>└╠ ╕≡╡Γ┐í┤┬ ╡╬░í┴÷ ┴÷╜├╛ε░í └╓┤┘. <directive
- module="mod_actions">Action</directive> ┴÷╜├╛ε┤┬ ┐Σ├╗╟╧┤┬
- ╞─└╧└╟ ┴╛╖∙┐í ╡√╢≤ CGI ╜║┼⌐╕│╞«╕ª ╜╟╟α╟╤┤┘. <directive
- module="mod_actions">Script</directive> ┴÷╜├╛ε┤┬ ┐Σ├╗└╠
- ╞»┴ñ ╕▐╝¡╡σ╕ª ╗τ┐δ╟╥ ░µ┐∞ CGI ╜║┼⌐╕│╞«╕ª ╜╟╟α╟╤┤┘. ▒╫╖í╝¡
- ╞─└╧└╗ ├│╕«╟╧┤┬ ╜║┼⌐╕│╞«╕ª ╕┼┐∞ ╜▒░╘ ╜╟╟α╟╥ ╝÷ └╓┤┘.</p>
- </summary>
-
- <seealso><module>mod_cgi</module></seealso>
- <seealso><a href="../howto/cgi.html">CGI╖╬ ╞Σ└╠┴÷ │╗┐δ</a></seealso>
- <seealso><a href="../handler.html">╛╞╞──í┐í╝¡ ╟┌╡Θ╖» ╗τ┐δ</a></seealso>
-
- <directivesynopsis>
- <name>Action</name>
- <description>╞»┴ñ ╟┌╡Θ╖»│¬ content-type┐í ┤δ╟╪ CGI ╜║┼⌐╕│╞«╕ª
- ╗τ┐δ╟╤┤┘</description>
- <syntax>Action <var>action-type</var> <var>cgi-script</var></syntax>
- <contextlist>
- <context>server config</context><context>virtual host</context>
- <context>directory</context><context>.htaccess</context>
- </contextlist>
- <override>FileInfo</override>
-
- <usage>
- <p>└╠ ┴÷╜├╛ε┤┬ ┐Σ├╗└╠ <var>action-type</var>└╠╕Θ
- <var>cgi-script</var>╕ª ╜╟╟α╟╧┤┬ ╟α╡┐└╗ ╝¡╣÷┐í ├▀░í╟╤┤┘.
- <var>cgi-script</var>┤┬ <directive
- module="mod_alias">ScriptAlias</directive>│¬ <directive
- module="mod_mime">AddHandler</directive>╕ª ╗τ┐δ╟╧┐⌐ CGI
- ╜║┼⌐╕│╞«╖╬ ┴÷┴ñ╟╤ ╕«╝╥╜║└╟ URL░µ╖╬└╠┤┘.
- <var>action-type</var>┐í┤┬ <a
- href="../handler.html">╟┌╡Θ╖»</a>│¬ MIME content type└╗
- ╗τ┐δ╟╥ ╝÷ └╓┤┘. └╠ ┴÷╜├╛ε┤┬ PATH_INFO┐═ PATH_TRANSLATED
- CGI ╟Ñ┴╪ ╚»░µ║»╝÷╖╬ ┐Σ├╗╟╤ ╣«╝¡└╟ URL░· ╞─└╧░µ╖╬╕ª └ⁿ┤▐╟╤┤┘.</p>
-
- <example><title>┐╣┴ª</title>
- # ╞»┴ñ ┴╛╖∙└╟ ╞─└╧ ┐Σ├╗:<br />
- Action image/gif /cgi-bin/images.cgi<br />
- <br />
- # ╞»┴ñ╟╤ ╚«└σ└┌╕ª ░í┴° ╞─└╧<br />
- AddHandler my-file-type .xyz<br />
- Action my-file-type /cgi-bin/program.cgi<br />
- </example>
-
- <p>├╣╣°┬░ ┐╣┐í╝¡ MIME content type└╠ <code>image/gif</code>└╬
- ╞─└╧└╗ ┐Σ├╗╟╧╕Θ ┴÷┴ñ╟╤ cgi ╜║┼⌐╕│╞« <code>/cgi-bin/images.cgi</code>░í
- ┤δ╜┼ ├│╕«╟╤┤┘.</p>
-
- <p>╡╬╣°┬░ ┐╣┐í╝¡ ╚«└σ└┌░í <code>.xyz</code>└╬ ╞─└╧└╗ ┐Σ├╗╟╧╕Θ
- ┴÷┴ñ╟╤ cgi ╜║┼⌐╕│╞« <code>/cgi-bin/program.cgi</code>░í
- ┤δ╜┼ ├│╕«╟╤┤┘.</p>
- </usage>
-
- <seealso><directive module="mod_mime">AddHandler</directive></seealso>
- </directivesynopsis>
-
- <directivesynopsis>
- <name>Script</name>
- <description>╞»┴ñ ┐Σ├╗╕▐╝¡╡σ┐í ┤δ╟╪ CGI ╜║┼⌐╕│╞«╕ª
- ╗τ┐δ╟╤┤┘.</description>
- <syntax>Script <var>method</var> <var>cgi-script</var></syntax>
- <contextlist>
- <context>server config</context><context>virtual host</context>
- <context>directory</context></contextlist>
- <usage>
- <p>└╠ ┴÷╜├╛ε┤┬ ╞─└╧└╗ <var>method</var> ╕▐╝¡╡σ╕ª ╗τ┐δ╟╧┐⌐
- ┐Σ├╗╟╧╕Θ <var>cgi-script</var>╕ª ╜╟╟α╟╧┤┬ ╟α╡┐└╗ ╝¡╣÷┐í
- ├▀░í╟╤┤┘. <var>cgi-script</var>┤┬ <directive
- module="mod_alias">ScriptAlias</directive>│¬ <directive
- module="mod_mime">AddHandler</directive>╕ª ╗τ┐δ╟╧┐⌐ CGI
- ╜║┼⌐╕│╞«╖╬ ┴÷┴ñ╟╤ ╕«╝╥╜║└╟ URL░µ╖╬└╠┤┘. └╠ ┴÷╜├╛ε┤┬ PATH_INFO┐═
- PATH_TRANSLATED CGI ╟Ñ┴╪ ╚»░µ║»╝÷╖╬ ┐Σ├╗╟╤ ╣«╝¡└╟ URL░·
- ╞─└╧░µ╖╬╕ª └ⁿ┤▐╟╤┤┘.</p>
-
- <note>
- ╛ε╢▓ ╕▐╝¡╡σ └╠╕º└╠╢≤╡╡ ╗τ┐δ╟╥ ╝÷ └╓┤┘. <strong>╕▐╝¡╡σ └╠╕º└║
- ┤δ╝╥╣«└┌╕ª ▒╕║░╟╤┤┘.</strong> ▒╫╖í╝¡ <code>Script PUT</code>░·
- <code>Script put</code>└║ ┐╧└ⁿ╚≈ ┤┘╕ú┤┘.
- </note>
-
- <p>Script ╕φ╖╔╛ε┤┬ ▒Γ║╗└√└╬ ╟α╡┐╕╕└╗ ├│╕«╟╘└╗ ┴╓└╟╟╧╢≤.
- CGI ╜║┼⌐╕│╞«░í ║╥╕«░┼│¬, ┐Σ├╗╟╤ ╕▐╝¡╡σ╕ª ╛╦╛╞╝¡ ├│╕«╟╥ ╝÷
- └╓┤┬ ╕«╝╥╜║└╟ ░µ┐∞ ▒╫┤δ╖╬ ├│╕«╟╤┤┘. <code>GET</code>
- ╕▐╝¡╡σ└╟ Script┤┬ ┴·└╟╛╞▒╘╕╒╞«░í └╓└╗╢º╕╕ (<em>┐╣</em>,
- foo.html?hi) ╗τ┐δ╟╘└╗ ┴╓└╟╟╧╢≤. ┴·└╟╛╞▒╘╕╒╞«░í ╛°┤┘╕Θ
- ┴ñ╗≤└√└╕╖╬ ┐Σ├╗└╗ ├│╕«╟╤┤┘.</p>
-
- <example><title>┐╣┴ª</title>
- # <ISINDEX>╜─ ░╦╗÷└╗ └º╟╪<br />
- Script GET /cgi-bin/search<br />
- <br />
- # CGI PUT ╟┌╡Θ╖»<br />
- Script PUT /~bob/put.cgi<br />
- </example>
- </usage>
- </directivesynopsis>
-
- </modulesynopsis>
-